package com.nulldev.util.web.HttpServer3.util;

import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Function;

public class BlankHashMap<K, V> extends HashMap<K, V> {

	private static final long serialVersionUID = 8715364110521403094L;

	public BlankHashMap() {
		super(0);
	}

	public BlankHashMap(final int size) {
		super(0);
	}

	public BlankHashMap(final Map<? extends K, ? extends V> m) {
		super(0);
	}

	@Override
	public V put(final K key, final V value) {
		return null;
	}

	@Override
	public V putIfAbsent(final K key, final V value) {
		return null;
	}

	@Override
	public int size() {
		return 0;
	}

	@Override
	public boolean isEmpty() {
		return true;
	}

	@Override
	public void putAll(final Map<? extends K, ? extends V> m) {
	}

	@Override
	public V remove(final Object key) {
		return null;
	}

	@Override
	public boolean remove(final Object key, final Object value) {
		return false;
	}

	@Override
	public V compute(final K key, final BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
		return null;
	}

	@Override
	public V computeIfAbsent(final K key, final Function<? super K, ? extends V> mappingFunction) {
		return null;
	}

	@Override
	public V computeIfPresent(final K key, final BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
		return null;
	}

	@Override
	public V merge(final K key, final V value, final BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
		return value;
	}

	@Override
	public Set<K> keySet() {
		return Collections.emptySet();
	}

	@Override
	public Set<Entry<K, V>> entrySet() {
		return Collections.emptySet();
	}

	@Override
	public Collection<V> values() {
		return Collections.emptySet();
	}

	@Override
	public V get(Object key) {
		return null;
	}

	@Override
	public void forEach(final BiConsumer<? super K, ? super V> action) {
	}

	@Override
	public V replace(K key, V value) {
		return null;
	}

	@Override
	public boolean replace(K key, V oldValue, V newValue) {
		return false;
	}

	@Override
	public boolean containsKey(Object key) {
		return false;
	}

	@Override
	public boolean containsValue(Object value) {
		return false;
	}

	@Override
	public V getOrDefault(Object key, V defaultValue) {
		return defaultValue;
	}

	@Override
	public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
	}
}
